Technote TB 02 | October 1985 |
It is very important that your program not leave ResLoad set to FALSE when it exits. Doing this will cause the system to reboot or crash when it does a GetResource call for the next code segment to be loaded (usually the Finder). The system will crash because GetResource will not actually load the code from disk when ResLoad is FALSE.
So, make sure that you call SetResLoad(TRUE) before exiting your program.
Further Reference:
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help